from django.core.mail import send_mail

from libs.yuntongxun.sms import CCP

from celery_tasks.main  import app
from mall import settings


@app.task(bind=True,name="send_verify_url")
def send_verify_url(self,verify_url,email):



    send_mail(subject="请点击", message=verify_url,
              from_email=settings.EMAIL_FROM,
              recipient_list=[email])
